#ifndef _GROUP_H_
#define _GROUP_H_
#include <string>
#include <vector>
#include "groupuser.hpp"
class Group {
private:
    int id;
    std::string name;
    std::string desc;
    // 存放群组成员
    std::vector<GroupUser> users;
public:
    Group() = default;
    ~Group() = default;
    inline void SetId(int id) { this->id = id; }
    inline int GetId() const { return this->id; }
    inline void SetName(const std::string& name) { this->name = name; }
    inline const std::string& GetName() const { return this->name; }
    inline void SetDesc(const std::string& desc) { this->desc = desc; }
    inline const std::string& GetDesc() const { return this->desc; }
    inline std::vector<GroupUser>& GetUsers() { return this->users; }
};




#endif // _GROUP_H_